package com.zhongfeng.api.modules.business.service;

import com.zhongfeng.api.modules.business.vo.params.BusinessParams;
import com.zhongfeng.api.modules.end.vo.params.EndParams;
import com.zhongfeng.api.modules.utils.pojo.Result;

import javax.servlet.http.HttpServletRequest;

/**
 * @author blueCat
 * @date 2023/2/2 14:01
 * @motto life is a gift
 */
public interface BusinessService {
    /**
     * 查询全部营销网关
     * @param params
     * @return
     */
    Result queryAllBusiness(BusinessParams params);

    /**
     * 新增营销网关
     * @param params
     * @return
     */
    Result addBusiness(BusinessParams params);

    /**
     * 删除营销网关
     * @param id
     * @return
     */
    Result deleteBusiness(Integer id);

    /**
     * 修改营销网关
     * @param params
     * @return
     */
    Result updateBusiness(BusinessParams params);

}
